package com.fernfx.xingtan.main.contract;

import com.baidu.location.LocationClient;
import com.baidu.mapapi.map.BaiduMap;
import com.baidu.mapapi.map.TextureMapView;
import com.baidu.mapapi.model.LatLng;
import com.baidu.mapapi.search.core.PoiInfo;
import com.baidu.mapapi.search.poi.PoiSearch;
import com.fernfx.xingtan.common.base.BasePresenter;
import com.fernfx.xingtan.common.base.BaseView;

import java.util.List;

/**
 * Created by admin on 2018/8/22.
 */

public interface SelectLocationContract {
    interface View extends BaseView{
        void showRecommendLocation(List<PoiInfo> mInfoList);

        void searchLocation(List<PoiInfo> mInfoList);
    }

    interface Presenter extends BasePresenter{
        BaiduMap initBaiduMap(TextureMapView textureMapView);

        LocationClient getMLoactionLatLng();

        PoiSearch getPoiSearch();

        String getCity();

        String getDistrict();

        LatLng getCurrentLatLng();
    }

    interface Model{

    }
}
